<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
	
<h:head>
	<!-- General Metas -->
	

	
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />	
	
<title>Login</title>
	
<meta name="description" content="" />
	
<meta name="author" content="" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/skeleton.css" />
	<link rel="stylesheet" href="css/layout.css" />
	
</h:head>
<body>
	
			
		
		
		
<div class="notice">
		<a href="" class="close">close</a>
<h:panelGroup rendered="#{!empty param.login_error}">		
<p class="warn"> Erro ao efetuar o login.</p>
Motivo: #{SPRING_SECURITY_LAST_EXCEPTION.message}
</h:panelGroup>
	</div>
	<!-- Primary Page Layout -->
	
<div class="container">
		
		
<div class="form-bg">
			<form id="login" method="post" action="${request.contextPath}/j_spring_security_check">
				
<h2>Login</h2>
				
<p><input type="text" placeholder="Login" name='j_username' /></p>
				
<p><input type="password" placeholder="Senha" name='j_password'/></p>
				<label for="remember">
				  <input type="checkbox" name="_spring_security_remember_me"/>
				  <span>Continuar Conectado</span>
				</label>
				<button type="submit" />
				
				<script>
			document.getElementById("login").j_username.value = "#{SPRING_SECURITY_LAST_USERNAME}";
		</script>
			
		</form></div>
	
		
<p class="forgot">Esqueceu sua senha? <a href="">Clique aqui.</a></p>
	</div><!-- container -->
	
<!-- End Document -->
</body></html>